package cn.stylefeng.guns.modular.customer.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.customer.entity.Withdraw;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 提现记录表 服务类
 * </p>
 *
 * @author typ
 * @since 2021-04-25
 */
public interface WithdrawService extends IService<Withdraw> {

    /**
     * 新增
     *
     * @author typ
     * @Date 2021-04-25
     */
    void add(Withdraw param);

    /**
     * 删除
     *
     * @author typ
     * @Date 2021-04-25
     */
    void delete(Withdraw param);

    /**
     * 更新
     *
     * @author typ
     * @Date 2021-04-25
     */
    void update(Withdraw param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author typ
     * @Date 2021-04-25
     */
    Withdraw findBySpec(Withdraw param);

    /**
     * 查询列表，Specification模式
     *
     * @author typ
     * @Date 2021-04-25
     */
    List<Withdraw> findListBySpec(Withdraw param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author typ
     * @Date 2021-04-25
     */
     LayuiPageInfo findPageBySpec(Withdraw param);

}
